package com.mao.abstract2;

public class Test {
    public static void main(String[] args) {

        // 抽象类，模板方法设计
        Person p1 = new Stu();

        p1.write();
    }
}
